//
//  NSObject+UserDefault.h
//  OralRobot
//
//  Created by 王桂敏 on 16/5/1.
//  Copyright © 2016年 wangguimin. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, UserType)
{
    UserType_Teacher = 0,
    UserType_Student = 1
};
@interface NSObject (UserDefaults)

/**
 *  app首次启动
 */
@property (nonatomic,assign) BOOL firstLancher;

/**
 *  app首次登录
 */
@property (nonatomic,assign) BOOL firstLogin;

/**
 *  极光推送设备注册id
 */
@property (nonatomic,copy) NSString *registrationID;

/**
 *  手机号
 */
@property (nonatomic,copy) NSString *phone;

/**
 *  密码
 */
@property (nonatomic,copy) NSString *password;

/**
 *  用户id
 */
@property (nonatomic,copy) NSString *userID;

/**
 *  是否登录成功
 */
@property (nonatomic,assign) BOOL isLogin;

/**
 *  用户头像
 */
@property (nonatomic,copy) NSString *iconURL;

/**
 *  用户名
 */
@property (nonatomic,copy) NSString *nickName;

/**
 *  学校/分销商
 */
@property (nonatomic,copy) NSString *orgName;

/**
 *  学校/分销商 图片
 */
@property (nonatomic,copy) NSString *orgIconUrl;
/**
 *  学校/分销商 邮箱
 */
@property (nonatomic,copy) NSString *orgEmail;

/**
 *  学校/分销商 地址
 */
@property (nonatomic,copy) NSString *orgAdress;

/**
 *  企业法人
 */
@property (nonatomic,copy) NSString *legalPerson;

/**
 *  银行卡号
 */
@property (nonatomic,copy) NSString *cardNum;

/**
 *  账户余额
 */
@property (nonatomic,copy) NSString *balance;

/**
 *  token
 */
@property (nonatomic,copy) NSString *token;

/**
 *  backgroundTime：yyyyMMddHHmmss
 */
@property (nonatomic,copy) NSString *backgroundTime;

/**
 *  beginTime：yyyyMMddHHmmss
 */
@property (nonatomic,copy) NSString *beginTime;

/**
 *  endTime：yyyyMMddHHmmss
 */
@property (nonatomic,copy) NSString *endTime;

/**
 *  province
 */
@property (nonatomic,copy) NSString *province;

/**
 *  city
 */
@property (nonatomic,copy) NSString *city;

/**
 *  三方id
 */
@property (nonatomic,copy) NSString *openId;

/**
 *  三方类型
 */
@property (nonatomic,copy) NSString *openTypeOfThird;

/**
 *  三方是否显示
 */
@property (nonatomic, copy) NSString *isShow;


@property (nonatomic,assign) BOOL firstNetwork;

@property (nonatomic , copy) NSString * gender; // 性别

@property (nonatomic , copy) NSString * activeString; // 激活排行

@property (nonatomic , copy) NSString * payforString; // 付费排行

@property (nonatomic , assign) BOOL isFirstLogin; // 是否第一次登录

@property (nonatomic , assign) BOOL isIgnore; // 忽略流量提示

/**
 *  网络状态
 */
@property (nonatomic, assign) AFNetworkReachabilityStatus netState;


- (void)removeUserLoginInfo;

@end
